Gray matter refers to the regions of the brain and spinal cord that are primarily composed of neuronal cell bodies, dendrites, and unmyelinated axons. It is involved in processing and integrating information, as well as controlling muscle movements and sensory perception.